<h1>{$category->get_title()}</h1>
{if $subcat_arr}
<table width="100%" border="0" cellspacing="0" cellpadding="2">
{foreach from=$subcat_arr item=subcat}
    <tr>
        <td align="left">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td align="left"><h2><span class="news_category"><a href="{$subcat.path}">{$subcat.title}</a></span></h2></td>
                </tr>
{if $subcat.cis}             
                <tr>
                    <td align="left">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="normal_table">
{foreach from=$subcat.cis item=ci}                 
                            <tr>
                                <td width="60" valign="top"><span style="white-space:nowrap;">{$ci.ci.created|date_format:"%Y-%m-%d"}</span></td>
                                <td align="left"><a href="{$ci.path}">{$ci.ci.title}</a></td>
                            </tr>
{/foreach}                            
                        </table>
                    </td>
                </tr>
{/if}
            </table>
        </td>
    </tr>
    <tr><td>&nbsp;</td></tr>
{/foreach}    
</table>
<br /><br />
{/if}

{if $articles_arr}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
{foreach from=$articles_arr item=vpage}
    <tr>
        <td>
            <table width="100%" border="0" cellspacing="0" class="normal_table">
                <tr>
                    <td width="{$t2_width}" height="{$t2_height}" valign="top">
                    	{if $vpage.ci.images}
                        	<a href="{$vpage.path|escape:"htmlall":"$_default_encoding"}">
                            	<img src="admin/modules/tangra_cms/get_img_public.php?imgid={$vpage.ci.images.0->get_id()}&amp;imgvar=t2" border="0" width="{$t2_width}" height="{$t2_height}" />
                            </a>
                        {else}
                        	<a href="{$vpage.path|escape:"htmlall":"$_default_encoding"}"><img src="img/modules/tangra_cms/news_no_image_small.png" alt="no image" width="{$t2_width}" height="{$t2_height}" border="0" /></a>
                        {/if}
                    </td>
                    <td valign="top" align="left">
                        <table width="100%" border="0" cellspacing="0" cellpadding="4">
                            <tr>
                                <td><strong><a href="{$vpage.path|escape:"htmlall":"$_default_encoding"}">{$vpage.ci.title}</a></strong></td>
                            </tr>
                            <tr>
                                <td>{$vpage.ci.created}</td>
                            </tr>                            
                            <tr>
                                <td>
                                	{$vpage.ci.intro}
                                    <br />
                                    <a href="{$vpage.path|escape:"htmlall":"$_default_encoding"}">Read more &raquo;</a>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr><td colspan="2"><hr /></td></tr>
            </table>
        </td>
    </tr>
{/foreach}    
</table>
<!--
<br /><br />
For older news please visit <a href="news_archive/">News archive</a>.
-->
{/if}
{if !$subcat_arr && !$articles_arr}
No news.
{/if}